package com.himore.api.web.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.himore.api.common.annotation.Excel;
import com.himore.api.common.core.domain.CustomerBigdecimalSerialize;
import com.himore.api.common.core.domain.CustomerDoubleSerialize;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

public class DayDetailVO implements Serializable {
    private  String day;

    /** 账单记录id */
    private Long accountId;

    // 判断是否是收入  1 是收入  0  是支出
    private int  isIncome;

    // 收入类型
    private  String incomeType;

    // 收入类型名称
    private  String incomeTypeName;

    // 支出类型
    private String payType;

    // 支出类型名称
    private String payTypeName;

    /** 额外收入 */
    @ApiModelProperty(value = "收入")
    @JsonSerialize(using = CustomerBigdecimalSerialize.class)
    private BigDecimal inCome;

    /** 额外收入 */
    @ApiModelProperty(value = "支出")
    @JsonSerialize(using = CustomerBigdecimalSerialize.class)
    private BigDecimal outCome;



    private  String remark;

    /* 车号**/
    private String carNum;

    /** 总方量 */
    @ApiModelProperty(value = "总方量")
    @JsonSerialize(using = CustomerDoubleSerialize.class)
    private double accountAmount;

    public double getAccountAmount() {
        return accountAmount;
    }

    public void setAccountAmount(double accountAmount) {
        this.accountAmount = accountAmount;
    }

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }



    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public int getIsIncome() {
        return isIncome;
    }

    public void setIsIncome(int isIncome) {
        this.isIncome = isIncome;
    }

    public String getIncomeType() {
        return incomeType;
    }

    public void setIncomeType(String incomeType) {
        this.incomeType = incomeType;
    }

    public String getIncomeTypeName() {
        return incomeTypeName;
    }

    public void setIncomeTypeName(String incomeTypeName) {
        this.incomeTypeName = incomeTypeName;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getPayTypeName() {
        return payTypeName;
    }

    public void setPayTypeName(String payTypeName) {
        this.payTypeName = payTypeName;
    }

    @Override
    public String toString() {
        return "DayDetailVO{" +
                "day='" + day + '\'' +
                ", accountId=" + accountId +
                ", isIncome=" + isIncome +
                ", incomeType='" + incomeType + '\'' +
                ", incomeTypeName='" + incomeTypeName + '\'' +
                ", payType='" + payType + '\'' +
                ", payTypeName='" + payTypeName + '\'' +
                ", inCome=" + inCome +
                ", outCome=" + outCome +
                ", remark='" + remark + '\'' +
                ", carNum='" + carNum + '\'' +
                ", accountAmount=" + accountAmount +
                '}';
    }

    public BigDecimal getInCome() {
        return inCome;
    }

    public void setInCome(BigDecimal inCome) {
        this.inCome = inCome;
    }

    public BigDecimal getOutCome() {
        return outCome;
    }

    public void setOutCome(BigDecimal outCome) {
        this.outCome = outCome;
    }

}
